import { Routes } from '@angular/router';

import { PrivilegeManagementComponent } from './privilege-management.component';

export const PrivilegeManagementRoutes: Routes = [
    {
        path: '',
        children: [
            { path: 'privilege-management', component: PrivilegeManagementComponent },
            { path: 'privilege-management/:privilegeId', component: PrivilegeManagementComponent },
            { path: 'privilege-management/:privilegeId/:pageNo/:pageSize', component: PrivilegeManagementComponent },
            { path: 'privilege-management/:privilegeId/:pageNo/:pageSize/:orderBy/:orderType', component: PrivilegeManagementComponent },
            { path: 'privilege-management/:privilegeId/:pageNo/:pageSize/:orderBy/:orderType/:searchKeywords',
            component: PrivilegeManagementComponent },
        ]
    }
];
